Inheriting Multiple and Repeated Parts in Timor
نویسندگان
چکیده
The paper describes one aspect of multiple inheritance in the Timor programming language, viz. how "parts" such as a type Radio and a type Cassette Player can be inherited, where appropriate repeatedly, in subtypes such as a Radio Double Cassette Player. Because such types can also be defined via aggregation the paper begins by comparing inheritance with aggregation. It then shows how such cases can be handled first at the type level and then at the implementation level in Timor.
منابع مشابه
Diamond Inheritance and Attribute Types in Timor
In Timor multiple inheritance of methods from a common abstract ancestor (e.g. Collection) and of separate "parts" (possibly repeatedly) from distinct supertypes (e.g. a Radio, a Cassette Player) are handled in different ways. The paper shows that neither technique is suitable for cases where a common concrete ancestor (e.g. Person) is specialised in different subtypes (e.g. as a Student, an Em...
متن کاملInheriting from a Common Abstract Ancestor in Timor
A particular case of multiple inheritance, involving a family of related types with a common abstract ancestor, is examined, and a substantial example, involving five abstract and nine concrete collection types, is presented. The separation of types and implementations, together with the separation of subtyping and code re-use, results in a clearly structured and easily intelligible type librar...
متن کاملExtended Model Formulas in R: Multiple Parts and Multiple Responses
Model formulas are the standard approach for specifying the variables in statistical models in the S language. Although being eminently useful in an extremely wide class of applications, they have certain limitations including being confined to single responses and not providing convenient support for processing formulas with multiple parts. The latter is relevant for models with two or more se...
متن کاملEstimating one's own and one's relatives' multiple intelligence: a cross-cultural study from East Timor and Portugal.
This study examined estimates of their own, and their parents' general and multiple intelligences. Three hundred and twenty three students from East Timor, and one hundred eighty three students from Portugal estimated their own, and their parents' IQ scores on each of Gardner's ten multiple intelligences. Men believed they were more intelligent than were women on mathematical (logical), spatial...
متن کاملRepeated Administration of Mercury Accelerates Progression of Multiple Sclerosis through Mitochondrial Dysfunction
Multiple Sclerosis (MS) is a neurodegenerative and autoimmune disease that it’s molecular etiology and factors involving in its progression remains unknown. In this study for evaluation effect of mercuric on progression of MS we investigated the additive effect of mercuric sulfide on the brain mitochondrial dysfunction in experimental autoimmune encephalomyelitis (EAE) model of MS in C57BL/6 mi...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Journal of Object Technology
دوره 3 شماره
صفحات -
تاریخ انتشار 2004